package com.example.config;

import com.example.tranport.server.ServerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MQConfig {

    @Bean
    public ServerFactory serverFactory() {
        ServerFactory serverFactory = new ServerFactory();
        serverFactory.setPort(8888);
        return serverFactory;
    }
}
